import React, { Component } from 'react'
import {Link, Route, NavLink, Switch, Redirect} from "react-router-dom"
import {Button, DatePicker} from 'antd'
import {
  AndroidOutlined,
  SearchOutlined
} from '@ant-design/icons';

const { RangePicker } = DatePicker;


export default class App extends Component {

  onChange = (date, dateString) => {
    console.log(date, dateString);
  };
  
  render() {
    return (
      <div>
        <Button type="primary">Primary Button</Button>
        <AndroidOutlined />
        <Button type="primary" icon={<SearchOutlined />}>
        Search
      </Button>
      <DatePicker onChange={this.onChange} />
      <RangePicker />
      </div>
    )
  }
}
